<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <h:head>

    </h:head>
    <h:body>
        <p:layout fullPage="true">

            <p:layoutUnit position="north" size="110">
                <p:graphicImage value="/img/Topop.jpg" width="650px" height="100px" />
            </p:layoutUnit>


            <p:layoutUnit position="west" size="200">  

                <h:form>
                    <p:panelMenu style="width: 180px">
                        <p:submenu label="Tarefas" >
                            <p:menuitem value="Cadastrar Tarefa" action="cadastro-tarefas" ajax="false" icon="ui-icon-clipboard" />
                            <p:menuitem value="Cadastrar Usuários" action="cadastro-usuario" ajax="false" icon="ui-icon-clipboard" />
                        </p:submenu>

                        <p:submenu label="Check List" >

                        </p:submenu>

                        <p:submenu label="Responsáveis" >
                            <p:menuitem value="Cadastrar Responsável" action="cadastro-responsavel" ajax="false" icon="ui-icon-clipboard" />
                        </p:submenu>

                        <p:submenu label="Departamento" >
                            <p:menuitem value="Cadastrar Departamento" action="cadastro-departamento" ajax="false" icon="ui-icon-clipboard" />
                            <p:menuitem value="Consultar Departamento" action="consultar-departamento" ajax="false" icon="ui-icon-searth" />
                        </p:submenu>
                        
                        <p:submenu label="Ajuda" >

                        </p:submenu>

                    </p:panelMenu>
                </h:form>

            </p:layoutUnit>  

            <p:layoutUnit position="center">
                <h:form>  
                    <ui:insert name="content"/>
                </h:form>  
            </p:layoutUnit> 

        </p:layout>
    </h:body>
</html>

